Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal package impl #6

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Minimal package impl #6

merged 1 commit into from
Jul 19, 2024

Conversation

wpbonelli
Copy link
Member

MFPackage base class

  • mapping of block names to blocks
  • package subclasses can be defined in terms of MFParameter
  • package metaclass introspects parameters and dynamically subclasses MFBlock
  • class attributes as block/parameter specification, instance attrs as loaded values
  • delegates load()/write() to constituent blocks

@wpbonelli wpbonelli marked this pull request as ready for review July 19, 2024 23:38
@wpbonelli wpbonelli merged commit c5a5542 into modflowpy:develop Jul 19, 2024
14 checks passed
@wpbonelli wpbonelli deleted the package branch July 19, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant